home *** CD-ROM | disk | FTP | other *** search
Wrap
ssssbbbbooooxxxxffff((((3333GGGG)))) ssssbbbbooooxxxxffff((((3333GGGG)))) NNNNAAAAMMMMEEEE ssssbbbbooooxxxxffff,,,, ssssbbbbooooxxxxffffiiii,,,, ssssbbbbooooxxxxffffssss - draw a filled screen-aligned rectangle CCCC SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN vvvvooooiiiidddd ssssbbbbooooxxxxffff((((xxxx1111,,,, yyyy1111,,,, xxxx2222,,,, yyyy2222)))) CCCCoooooooorrrrdddd xxxx1111,,,, yyyy1111,,,, xxxx2222,,,, yyyy2222;;;; vvvvooooiiiidddd ssssbbbbooooxxxxffffiiii((((xxxx1111,,,, yyyy1111,,,, xxxx2222,,,, yyyy2222)))) IIIIccccoooooooorrrrdddd xxxx1111,,,, yyyy1111,,,, xxxx2222,,,, yyyy2222;;;; vvvvooooiiiidddd ssssbbbbooooxxxxffffssss((((xxxx1111,,,, yyyy1111,,,, xxxx2222,,,, yyyy2222)))) SSSSccccoooooooorrrrdddd xxxx1111,,,, yyyy1111,,,, xxxx2222,,,, yyyy2222;;;; All of the above functions are functionally the same except for the type declarations of the parameters. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS _x_1 expects the _x coordinate of a corner of the filled box. _y_1 expects the _y coordinate of a corner of the filled box. _x_2 expects the _x coordinate of the opposite corner of the filled box. _y_2 expects the _y coordinate of the opposite corner of the filled box. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN ssssbbbbooooxxxxffff draws a filled, two-dimensional, screen-aligned rectangle. The rectangle is drawn as a single polygon, and therefore inherits many properties that affect the drawing of polygons. These include the current color, writemask, fill pattern, and subpixel mode. The sides of the rectangle will be parallel to the screen _x and _y axes. This rectangle cannot be rotated. The _z coordinate is set to zero. When you use ssssbbbbooooxxxxffff, you must not use alpha blending, backfacing or frontfacing, depthcueing, fog, gouraud shading, lighting, polygon antialiasing, screen subdivision, stenciling, texture mapping, or z- buffering. ppppoooollllyyyymmmmooooddddeeee must be set to PYM_FILLED. ssssbbbbooooxxxxffff may be faster than rrrreeeeccccttttffff on some machines. Use ssssbbbbooooxxxxffff when you need to draw a large number of screen-aligned rectangles. After ssssbbbbooooxxxxffff executes, the graphics position is undefined. SSSSEEEEEEEE AAAALLLLSSSSOOOO backface, bgnpolygon, blendfunction, depthcue, frontface, glcompat, lmbind, polymode, polysmooth, rectf, scrsubdivide, setpattern, shademodel, stencil, subpixel, texbind, zbuffer PPPPaaaaggggeeee 1111 ssssbbbbooooxxxxffff((((3333GGGG)))) ssssbbbbooooxxxxffff((((3333GGGG)))) NOTE By default ssssbbbbooooxxxxffff draws a polygon using the old-style scan conversion algorithm, rather than the point sampling algorithm used by bbbbggggnnnnppppoooollllyyyyggggoooonnnn and eeeennnnddddppppoooollllyyyyggggoooonnnn. Point sampling is prefered over old-style scan conversion because it has higher performance. Call ggggllllccccoooommmmppppaaaatttt((((GGGGLLLLCCCC____OOOOLLLLDDDDPPPPOOOOLLLLYYYYGGGGOOOONNNN,,,,0000)))) to enable point sampling of polygons generated by ssssbbbbooooxxxxffff. PPPPaaaaggggeeee 2222